package com.estate.system.domain;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("enquiry")
public class Enquiry {
    @TableId
    private Long id;

    private String comment;

    @TableField("contact_id")
    private Integer contactId;

    @TableField("office_id")
    private Integer officeId;

    @TableField("project_id")
    private Integer projectId;

    @TableField("enquiry_id")
    private Integer enquiryId;

    private String type;

    @TableField("enquiry_date")
    private Date enquiryDate;

    @TableField("created_date")
    private Date createdDate;

    @TableField("agent_id")
    private Integer agentId;

    @TableField("listing_id")
    private Integer listingId;

    @TableField("created_at")
    private Date createdAt;

    @TableField("updated_at")
    private Date updatedAt;
}